package appapi.mapper;

import appapi.Request.ParkPageReq;
import appapi.Request.bigscreen.CarInOutReq;
import appapi.Vo.brider.ParkVO;
import appapi.dto.bigScreenDto.*;
import appapi.entity.bridge.ParkControl;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author hlm
 * @date
 * @description: 闸机设备
 */
@Mapper
public interface ParkMapper extends BaseMapper<ParkControl> {

    List<ParkVO> selectParkListByPage(@Param("req") ParkPageReq req);

    CarInOutDto selectCarInOutStatic(CarInOutReq req);

    List<CarDayInOutDto> selectCarDayInOutStatic(CarInOutReq req);

    CarStaticDto selectCarStatic(CarInOutReq req);

    List<PersonCarStaticDto> selectPersonCarStatic(CarInOutReq req);

    Integer selectCarBlackStatic(CarInOutReq req);
    CarOvernightDto selectCarOvernightStatic(CarInOutReq req);
}
